Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed watch not working when NODE_ENV is production #2024

Conversation

RobertPurcea
Copy link
Contributor

@RobertPurcea RobertPurcea commented Sep 17, 2018


name: 馃檵 fix for watch not working when NODE_ENV is 'production'
about: fixes issue #2011

鈫笍 Pull Request

I understand that Parcel should watch changes every time the watch command is being used.
Previously, watch was enabled on dev environment only, while the watch command inserted by users was completely ignored.

With this modification, watch is always enabled if the user passes the command in CLI.

馃捇 Examples

There is an example in #2011 - first post

鉁旓笍 PR Todo

  • Added/updated unit tests for this change
  • Filled out test instructions
  • Included links to related issues/PRs

@DeMoorJasper DeMoorJasper merged commit 550f8ea into parcel-bundler:master Sep 17, 2018
devongovett pushed a commit that referenced this pull request Oct 15, 2018
---
name: 馃檵 fix for watch not working when NODE_ENV is 'production'
about: fixes issue #2011 
---

<!---
Thanks for filing a pull request 馃槃 ! Before you submit, please read the following:

Search open/closed issues before submitting since someone might have pushed the same thing before!
-->
## 鈫笍 Pull Request
<!---
Provide a general summary of the pull request here
Does this address an existing issue?
-->
I understand that Parcel should watch changes every time the watch command is being used.
Previously, watch was enabled on dev environment only, while the watch command inserted by users was completely ignored.

With this modification, watch is always enabled if the user passes the command in CLI. 
## 馃捇 Examples

There is an example in #2011 - first post

## 鉁旓笍 PR Todo

- [ ] Added/updated unit tests for this change
- [ ] Filled out test instructions
- [ ] Included links to related issues/PRs
<!-- Love parcel? Please consider supporting our collective:
馃憠  https://opencollective.com/parcel/donate -->
devongovett pushed a commit that referenced this pull request Oct 15, 2018
---
name: 馃檵 fix for watch not working when NODE_ENV is 'production'
about: fixes issue #2011 
---

<!---
Thanks for filing a pull request 馃槃 ! Before you submit, please read the following:

Search open/closed issues before submitting since someone might have pushed the same thing before!
-->
## 鈫笍 Pull Request
<!---
Provide a general summary of the pull request here
Does this address an existing issue?
-->
I understand that Parcel should watch changes every time the watch command is being used.
Previously, watch was enabled on dev environment only, while the watch command inserted by users was completely ignored.

With this modification, watch is always enabled if the user passes the command in CLI. 
## 馃捇 Examples

There is an example in #2011 - first post

## 鉁旓笍 PR Todo

- [ ] Added/updated unit tests for this change
- [ ] Filled out test instructions
- [ ] Included links to related issues/PRs
<!-- Love parcel? Please consider supporting our collective:
馃憠  https://opencollective.com/parcel/donate -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants